package com.hnas.ecard.dao;

import java.util.List;

import com.hnas.core.dao.BaseDao;
import com.hnas.core.dto.DTOPagedList;
import com.hnas.ecard.orm.CommoditMrch;
import com.hnas.ecard.service.dto.DTOCommodit;
import com.hnas.ecard.service.dto.DTOCommoditMrch;
import com.hnas.ecard.service.dto.DTOCommoditMrchSearch;
import com.hnas.ecard.service.search.DTOCommoditSearch;

public interface CommoditMrchDao extends BaseDao<CommoditMrch>{
	CommoditMrch saveOrUpdate(DTOCommoditMrch dto) throws Exception;
	List<CommoditMrch> listCommoditMrch();
	String findMrch(String orderNo);
	DTOPagedList<DTOCommoditMrch> page(DTOCommoditMrchSearch criteria);
	boolean deleteById(String id);
	DTOPagedList<DTOCommodit> pageCommodit(DTOCommoditSearch criteria);
}
